Skip to content

fix(release): set useCommitScope to true to prevent global major bumps#475

Merged
Hyperkid123 merged 1 commit intoRedHatInsights:mainfrom
charlesmulder:RHCLOUD-47359
Apr 29, 2026
Merged

fix(release): set useCommitScope to true to prevent global major bumps#475
Hyperkid123 merged 1 commit intoRedHatInsights:mainfrom
charlesmulder:RHCLOUD-47359

Conversation

@charlesmulder
Copy link
Copy Markdown
Contributor

Fixes https://redhat.atlassian.net/browse/RHCLOUD-47359

Change nx.json conventionalCommits.useCommitScope from false to true. With false, breaking changes bump ALL packages with modified files to major. With true, only packages named in commit scope get major bumps, others get patch for dependency updates.

This prevents preserveMatchingDependencyRanges failures when shared package jumps major (2.0.5→3.0.0) but clients depend on ^2.0.5.

Also document the setting in CLAUDE.md and CONTRIBUTING.md to prevent future changes.`

@Hyperkid123 Hyperkid123 merged commit 8522972 into RedHatInsights:main Apr 29, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants